MailPoet\API\MP\v1\Subscribers A

Total Complexity 73
Dependencies 24
Dependents 3
Total lines 484
Lines of code 301
Logical lines of code 182
Comment lines 79
Methods 17
Properties 13

Methods 17

Method Rating Maintainability Complexity Lines of code
subscribeToLists()
B
41 16 53
addSubscriber()
A
43 10 48
getAndValidateSegments()
A
44 10 44
buildListingDefinition()
S
57 8 15
updateSubscriber()
S
48 5 33
findSubscriber()
S
60 5 12
unsubscribe()
S
58 2 16
extractCustomFieldsFromFromSubscriberData()
S
63 3 10
checkSubscriberAndListParams()
S
70 2 6
checkSubscriberParam()
S
72 2 5
__construct()
S
59 1 15
_sendConfirmationEmail()
S
64 2 10
_scheduleWelcomeNotification()
S
64 2 10
getSubscribers()
S
65 2 9
getSubscriber()
S
76 1 4
unsubscribeFromLists()
S
68 1 7
getSubscribersCount()
S
76 1 4